package com.hdax.dm.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdax.dm.scheduler.DmSchedulerSeat;
import org.apache.ibatis.annotations.Update;

public interface SchedulerSeatMapper extends BaseMapper<DmSchedulerSeat> {


    @Update(value = {
            "<script>",
            "UPDATE dm_scheduler_seat SET " ,
                    "orderNo = ''," ,
                    "userId = null," ,
                    "status=1," ,
                    "updatedTime=NOW() " ,
                    "WHERE orderNo = #{orderNo}",
            "</script>"
    })
    Boolean updateSeatXY(String orderNo);
}
